const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  // 先注掉，后面存好对应属性后再调用
  // token: state => state.user.token,

  // 用户头像地址
  avatar: state => state.user.userInfo.image,
  // 用户账户名
  name: state => state.user.userInfo.username
}
export default getters
